/*
 * Created on Feb 11, 2005
 * Created by dfhuynh
 */
package edu.mit.simile.longwell.query.project;

import java.util.Set;

import com.hp.hpl.jena.rdf.model.Resource;

/**
 * @author dfhuynh
 */
public interface IIntegerProjection extends IProjection {
	/**
	 * Return the projected value of the given object as an integer. 
	 * 
	 * @param object
	 * @return
	 */
	public int getInteger(Resource object);
	
	public int getMin();
	
	public int getMax();
	
	public Set getObjects(int fromInclusive, int toExclusive);
	
	public int countObjects(int fromInclusive, int toExclusive);
}
